/**   
* @Title: TestJob.java
* @Package org.xaoyaoyao.cloud.job.processor
* @Description: TODO
* @author xaoyaoyao
* @date Feb 11, 2019 5:12:36 PM
* @version V1.0   
*/
package org.xaoyaoyao.cloud.job.processor;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.xaoyaoyao.cloud.job.AbstractJob;

import lombok.extern.slf4j.Slf4j;

/**
 * @ClassName: TestJob
 * @Description: TODO
 * @author xaoyaoyao
 * @date Feb 11, 2019 5:12:36 PM
 * 
 */
@Slf4j
public class TestJob extends AbstractJob {

	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		log.warn(">>>>>>>> 测试Job开始运行...");
		try {
			log.warn(">>>>>>>> 开始运行程序...");
			Thread.sleep(3000L);
		} catch (InterruptedException e) {
			log.error(e.getMessage(), e);
		}
		log.warn(">>>>>>>> 测试Job运行结束...");
	}

}
